import axios from '@/utils/request';

export function getDormitoryFloorRoomList(params) {
    return axios.post({
        url: '/dormitory-floor-room/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editDormitoryFloorRoom(params) {
    return axios.post({
        url: '/dormitory-floor-room/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteDormitoryFloorRoom(params) {
    return axios.post({
        url: '/dormitory-floor-room/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadDormitoryFloorRoom(params) {
    return axios.post({
        url: '/dormitory-floor-room/load',
        data: params
    }).then((res) => {
        return res
    })
}

